home *** CD-ROM | disk | FTP | other *** search
/ Chip 2003 December / Chip_2003-12_cd1.bin / program / ctenari / ShiCola / CodePad37.exe / $INSTDIR / Syntax Definitions / awk.def < prev    next >
Encoding:
Text File  |  2003-10-17  |  4.3 KB  |  170 lines

  1. object TPersHolder
  2.   P.Name = 'AWK Script'
  3.   P.Extensions.Strings = (
  4.     'AWK Scripts (*.awk)|*.awk')
  5.   P.SyntaxBlocks = <
  6.     item
  7.       Name = 'Default'
  8.       ID = 0
  9.       CaseSensitive = True
  10.       UseMetaSymbol = True
  11.       UseMetaToWrapLines = True
  12.       MetaSymbol = '\'
  13.       FIText = 0
  14.       FIIntNum = 1
  15.       FIFloatNum = 2
  16.       FIHexNum = 3
  17.       FISymbol = 9
  18.       UseSymbols = True
  19.       UseComments = True
  20.       UseSingleLineComments = True
  21.       UseMultiLineComments = True
  22.       UseStrings = True
  23.       UseSingleLineStrings = True
  24.       UseNumbers = True
  25.       UseKeywords = True
  26.       BlockDelimiters = <>
  27.       SingleLineCommentDelimiters = <
  28.         item
  29.           FontID = 4
  30.           LeftDelimiter = '#'
  31.         end>
  32.       MultiLineCommentDelimiters = <
  33.         item
  34.           FontID = 10
  35.           LeftDelimiter = '/*'
  36.           RightDelimiter = '*/'
  37.         end>
  38.       SingleLineStringDelimiters = <
  39.         item
  40.           FontID = 5
  41.           LeftDelimiter = '"'
  42.           RightDelimiter = '"'
  43.         end>
  44.       KeywordSets = <
  45.         item
  46.           FontID = 6
  47.           Name = 'Statements'
  48.           Keywords = 
  49.             'BEGIN,break,continue,do,else,END,exit,for,function,if,in,pattern' +
  50.             ',return,while'
  51.         end
  52.         item
  53.           FontID = 7
  54.           Name = 'Built-in Variables'
  55.           Keywords = 
  56.             'ARGC,ARGIND,ARGV,CONVFMT,ENVIRON,ERRNO,FIELDWIDTHS,FILENAME,FNR,' +
  57.             'FS,IGNORECASE,NF,NR,OFMT,OFS,ORS,RLENGTH,RS,RSTART,RT,SUBSEP'
  58.         end
  59.         item
  60.           FontID = 8
  61.           Name = 'Internal Functions'
  62.           Keywords = 
  63.             'atan2,close,cos,exp,fflush,gensub,getline,gsub,index,int,length,' +
  64.             'log,match,next,nextfile,print,printf,rand,sin,split,sprintf,sqrt' +
  65.             ',srand,strftime,sub,substr,system,systime,tolower,toupper'
  66.         end>
  67.     end>
  68.   P.FontTable = <
  69.     item
  70.       FontID = 0
  71.       GlobalAttrID = 'Whitespace'
  72.       Font.Charset = DEFAULT_CHARSET
  73.       Font.Color = clBlack
  74.       Font.Height = -13
  75.       Font.Name = 'Courier New'
  76.       Font.Style = []
  77.     end
  78.     item
  79.       FontID = 1
  80.       GlobalAttrID = 'Integer'
  81.       Font.Charset = DEFAULT_CHARSET
  82.       Font.Color = clGreen
  83.       Font.Height = -13
  84.       Font.Name = 'Courier New'
  85.       Font.Style = []
  86.     end
  87.     item
  88.       FontID = 2
  89.       GlobalAttrID = 'Float'
  90.       Font.Charset = DEFAULT_CHARSET
  91.       Font.Color = clGreen
  92.       Font.Height = -13
  93.       Font.Name = 'Courier New'
  94.       Font.Style = []
  95.     end
  96.     item
  97.       FontID = 3
  98.       GlobalAttrID = 'Integer'
  99.       Font.Charset = DEFAULT_CHARSET
  100.       Font.Color = clGreen
  101.       Font.Height = -13
  102.       Font.Name = 'Courier New'
  103.       Font.Style = []
  104.     end
  105.     item
  106.       FontID = 4
  107.       GlobalAttrID = 'Comment'
  108.       Font.Charset = DEFAULT_CHARSET
  109.       Font.Color = clGray
  110.       Font.Height = -13
  111.       Font.Name = 'Courier New'
  112.       Font.Style = [fsItalic]
  113.     end
  114.     item
  115.       FontID = 5
  116.       GlobalAttrID = 'String'
  117.       Font.Charset = DEFAULT_CHARSET
  118.       Font.Color = clMaroon
  119.       Font.Height = -13
  120.       Font.Name = 'Courier New'
  121.       Font.Style = []
  122.     end
  123.     item
  124.       FontID = 6
  125.       GlobalAttrID = 'Reserved words'
  126.       Font.Charset = DEFAULT_CHARSET
  127.       Font.Color = clBlue
  128.       Font.Height = -13
  129.       Font.Name = 'Courier New'
  130.       Font.Style = [fsBold]
  131.     end
  132.     item
  133.       FontID = 7
  134.       GlobalAttrID = 'System Variable'
  135.       Font.Charset = DEFAULT_CHARSET
  136.       Font.Color = clNavy
  137.       Font.Height = -13
  138.       Font.Name = 'Courier New'
  139.       Font.Style = []
  140.     end
  141.     item
  142.       FontID = 8
  143.       GlobalAttrID = 'System Variable'
  144.       Font.Charset = DEFAULT_CHARSET
  145.       Font.Color = clNavy
  146.       Font.Height = -13
  147.       Font.Name = 'Courier New'
  148.       Font.Style = []
  149.     end
  150.     item
  151.       FontID = 9
  152.       GlobalAttrID = 'Delimiters'
  153.       Font.Charset = DEFAULT_CHARSET
  154.       Font.Color = clBlack
  155.       Font.Height = -13
  156.       Font.Name = 'Courier New'
  157.       Font.Style = []
  158.     end
  159.     item
  160.       FontID = 10
  161.       GlobalAttrID = 'Comment'
  162.       Font.Charset = DEFAULT_CHARSET
  163.       Font.Color = clGray
  164.       Font.Height = -13
  165.       Font.Name = 'Courier New'
  166.       Font.Style = [fsItalic]
  167.     end>
  168.   P.SyntaxVersion = 3
  169. end
  170.